import React, { useState } from "react";
import MarkdownEditor from "@uiw/react-md-editor";

const MarkdownEditorComponent = () => {
  const [value, setValue] = useState("");

  return (
    <div className="markdown-editor">
      <MarkdownEditor value={value} onChange={setValue} />
    </div>
  );
};

export default MarkdownEditorComponent;
